<?
	include("common.php");
	
	if($loggedin && $fid){
		ob_start();
		header("Location: forum.php?forum=$fid");
	}

	include("header.php");
	include("IndexTemplate.php");

	include("footer.php");
?>